_sum = 0
i = 1
while i <= 100:
    _sum += i  # _sum = _sum+i
    i += 1
print("1+2+3+...+100 = ", _sum)  # 5050

_sum = 0
for a in range(1,101):
    if a % 10 == 3:
        continue
    _sum = _sum + a

print(_sum)



